TxMIDI parm1[,parm2][,parm3]... - tranmits the specified hex bytes. Parms can be single hex bytes, or a string of hex bytes, with or without comma or space separators. Ex.: TxMIDI "904E40" TxMIDI 90,"4e",40 TxMIDI "90 4e",40 TxMIDI "90,4e,40" etc. (note that bytes containing hex chars a-f (A-F) must be in quotes, optional for 0-9).
RxMIDI(count) - an XFCN that gets MIDI data (up to count bytes, decimal) in hex, if any are available. If count is omitted, 1 is assumed. Note that this function does not wait for count bytes, but asking for a bunch gives them to you faster than making HyperCard go through the overhead of repeatedly asking for a single byte. If no bytes are available, null is returned. If count is "f[lush]", the receive queue gets flushed. Active sense bytes are filtered by the interrupt handler (so your DX7 wont fill the buffers up with FE's). Ex.: put RxMIDI(16) into myString